package com.whsm.admin.service;

import com.whsm.admin.domain.User;
import com.whsm.admin.domain.User1;
import com.whsm.admin.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    UserMapper userMapper;

    public User1 getUserById(int id){
        User1 userById = userMapper.findUserById(id);
        return userById;
    }
}
